import 'package:finance_app/generated/json/base/json_convert_content.dart';
import 'package:finance_app/generated/json/base/json_field.dart';

class AccountEntity with JsonConvert<AccountEntity> {
  @JSONField(name: "data_type")
  String dataType;
  int id;
  @JSONField(name: "company_id")
  int companyId;
  @JSONField(name: "account_number")
  dynamic accountNumber;
  @JSONField(name: "bank_name")
  String bankName;
  @JSONField(name: "currency_code")
  String currencyCode;
  String type;
  num balance;
  @JSONField(name: "created_at")
  String createdAt;
  @JSONField(name: "updated_at")
  String updatedAt;
  @JSONField(name: "as_at")
  String asAt;
  @JSONField(name: "next_opening_date")
  String nextOpeningDate;
  @JSONField(name: "has_used")
  bool hasUsed;
  @JSONField(name: 'beginning_balance')
  String beginningBalance;
}
